package com.xxrl.shop.repository;

import com.xxrl.shop.domain.ProductType;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author mis
 */
public interface ProductTypeRepository extends MongoRepository<ProductType,String> {
    boolean existsByName(String name);
}
